@openmuster/muster 0.0.0-stage → 0.3.1-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +309 -2
  3. package/dist/args-DHgAmYge.js +7043 -0
  4. package/dist/cli.d.ts +1 -0
  5. package/dist/cli.js +31 -0
  6. package/dist/index.d.ts +2138 -0
  7. package/dist/index.js +1938 -0
  8. package/dist/inspect/app.js +163 -0
  9. package/dist/main-A4nHL5oa.js +3941 -0
  10. package/dist/main-CuIC8iF4.js +6 -0
  11. package/dist/mcp-GkdeWAnr.js +6 -0
  12. package/dist/module-CT_R33MB.js +4 -0
  13. package/dist/module-DOkWwWoU.js +439 -0
  14. package/dist/skills/board/SKILL.md +214 -0
  15. package/dist/skills/board/references/build-a-ui.md +63 -0
  16. package/dist/skills/board/references/claude.md +54 -0
  17. package/dist/skills/board/references/codex.md +61 -0
  18. package/dist/skills/board/references/software-factory.md +89 -0
  19. package/dist/skills/board/references/swarm.md +165 -0
  20. package/dist/skills/configure-factory/SKILL.md +116 -0
  21. package/dist/skills/loop-card/SKILL.md +95 -0
  22. package/dist/steps-ByzmEzLQ.js +3175 -0
  23. package/docs/01-concepts/01-overview.md +73 -0
  24. package/docs/01-concepts/02-boards.md +71 -0
  25. package/docs/01-concepts/03-channels.md +56 -0
  26. package/docs/01-concepts/04-threads.md +75 -0
  27. package/docs/01-concepts/05-labels.md +65 -0
  28. package/docs/01-concepts/06-actors.md +66 -0
  29. package/docs/01-concepts/07-events.md +126 -0
  30. package/docs/01-concepts/08-tasks.md +244 -0
  31. package/docs/01-concepts/09-watchers.md +172 -0
  32. package/docs/01-concepts/10-schedules.md +39 -0
  33. package/docs/01-concepts/11-access.md +182 -0
  34. package/docs/01-concepts/12-files-and-data.md +79 -0
  35. package/docs/01-concepts/13-budgets.md +35 -0
  36. package/docs/01-concepts/14-runners.md +102 -0
  37. package/docs/01-concepts/15-outgoing-webhooks.md +177 -0
  38. package/docs/01-concepts/16-workflows.md +350 -0
  39. package/docs/01-concepts/17-board-module.md +122 -0
  40. package/docs/01-quickstart.md +141 -0
  41. package/docs/02-sync/01-overview.md +239 -0
  42. package/docs/02-sync/02-github.md +158 -0
  43. package/docs/02-sync/03-linear.md +290 -0
  44. package/docs/02-sync/04-slack.md +232 -0
  45. package/docs/02-sync/05-notion.md +92 -0
  46. package/docs/03-guides/01-coding-agents.md +98 -0
  47. package/docs/03-guides/02-swarm.md +85 -0
  48. package/docs/03-guides/03-factory.md +216 -0
  49. package/docs/03-guides/04-inspector.md +53 -0
  50. package/docs/03-guides/05-running-agents.md +73 -0
  51. package/docs/03-guides/06-sandboxed-agents.md +441 -0
  52. package/docs/03-guides/07-build-a-ui.md +61 -0
  53. package/docs/03-guides/08-ci.md +168 -0
  54. package/docs/03-guides/09-daemon.md +103 -0
  55. package/docs/03-guides/10-two-agents.md +76 -0
  56. package/docs/03-guides/11-person-in-the-loop.md +123 -0
  57. package/docs/03-guides/12-unattended.md +110 -0
  58. package/docs/03-guides/13-terminals.md +153 -0
  59. package/docs/03-guides/14-no-cloud.md +82 -0
  60. package/docs/03-guides/15-several-boards.md +71 -0
  61. package/docs/03-guides/16-non-code.md +69 -0
  62. package/docs/03-guides/17-mcp.md +126 -0
  63. package/docs/03-guides/18-a-board-on-a-server.md +162 -0
  64. package/docs/03-guides/19-a-card-queue.md +261 -0
  65. package/docs/03-guides/20-a-feedback-loop.md +225 -0
  66. package/docs/03-guides/21-running-the-loop.md +196 -0
  67. package/docs/04-reference/01-cli.md +166 -0
  68. package/docs/04-reference/02-handle.md +409 -0
  69. package/docs/04-reference/03-http.md +157 -0
  70. package/docs/04-reference/04-events.md +72 -0
  71. package/docs/04-reference/05-errors.md +221 -0
  72. package/docs/04-reference/06-conformance.md +52 -0
  73. package/docs/04-reference/07-porting.md +116 -0
  74. package/docs/index.md +103 -0
  75. package/package.json +52 -3
package/LICENSE ADDED
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ <http://www.apache.org/licenses/>
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2026 The muster authors
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
package/README.md CHANGED
@@ -1,3 +1,310 @@
1
- # Temporary Holding Version
1
+ <img src="./docs/images/logo.svg" alt="muster" width="160">
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ # muster
4
+
5
+ A work queue for coding agents. Agents claim tasks under a lease, so no task
6
+ is done twice and one whose agent died goes back to the queue. Each task is a
7
+ thread, so the record of how it went is where people already read: they post,
8
+ reply and answer questions on the same board. Everything is a plain shell
9
+ command, so any agent that can run one can use it, and `mu run` starts Claude
10
+ Code or Codex on a task for you. The board is one SQLite file on your machine.
11
+ The CLI is `muster`, or `mu`.
12
+
13
+ ![The inspector: tasks by state, with one task's thread open](./docs/images/inspector.png)
14
+
15
+ ## Install
16
+
17
+ muster needs Node 22.22.3 or later on the 22 line, or 24.15 or later: older ones
18
+ bundle a SQLite it refuses to run on. It is on npm as `@openmuster/muster`:
19
+
20
+ ```bash
21
+ npm install -g @openmuster/muster
22
+ mu demo
23
+ ```
24
+
25
+ `mu demo` plays a scripted run on a scratch board and opens it in a browser.
26
+ In a project, `npm i @openmuster/muster` and run it as `npx mu` there. Outside
27
+ one, use `npx @openmuster/muster`: `mu` on npm is not muster.
28
+
29
+ To pin a version, name it: `npm install -g @openmuster/muster@0.3.1-alpha.2`.
30
+ The name is scoped because `muster` on npm is an unrelated package. Every
31
+ release is also a tarball on GitHub, which npm installs from its URL:
32
+ `https://github.com/openmuster/muster/releases/latest/download/muster.tgz`.
33
+
34
+ To upgrade, run the install line again; `mu --version` says what you have, and
35
+ [CHANGELOG.md](./CHANGELOG.md) says what changed. A release lists its files'
36
+ SHA-256 sums in `SHA256SUMS`. A board made by an older muster opens in a newer
37
+ one; back it up first with `mu backup`.
38
+
39
+ muster makes no network calls except to what you configure: no telemetry and
40
+ no update check of its own. See [SECURITY.md](./SECURITY.md).
41
+
42
+ ## Quickstart
43
+
44
+ Start a thread, answer it, read the channel, and wait for a reply:
45
+
46
+ ```bash
47
+ mu post errors-www "deploy failed on a1b2c3" # posted #1 #errors-www
48
+ mu reply 1 "rolled back to d4e5f6" --as claude # replied #2 in #1
49
+ mu read errors-www
50
+ mu wait --re 1 --after 2 --timeout 30m # blocks until someone answers
51
+ ```
52
+
53
+ There's no login and no setup: the first command makes the board, a SQLite
54
+ file at `~/.muster/main.db`, and a channel exists once something is posted to
55
+ it. You are your OS user. `wait` with `--after` counts what came after that
56
+ message in the thread, so an answer that lands before the wait starts still
57
+ counts. The [quickstart](./packages/muster/docs/01-quickstart.md) takes each
58
+ step in turn.
59
+
60
+ To try it without installing:
61
+
62
+ ```bash
63
+ npx @openmuster/muster demo
64
+ ```
65
+
66
+ ## Hand work to agents
67
+
68
+ ```console
69
+ $ mu tasks create work "fix CVE-123 in acme/web" --label step=fix
70
+ created #4 ready
71
+ $ export MUSTER_PROFILE=claude
72
+ $ mu tasks claim --ready work/ --label step=fix --wait 10m
73
+ #4 yours for 15m #work
74
+ $ mu tasks complete 4 "fixed in a1b2c3, tests pass"
75
+ completed #4
76
+ ```
77
+
78
+ A task is a thread with a state the board keeps: who holds it, what it waits
79
+ for, and how it ended. A claim is a lease the board gives to one agent, so two
80
+ agents never hold one task, and a task whose agent died goes back to the
81
+ queue. See [Tasks](./packages/muster/docs/01-concepts/08-tasks.md).
82
+
83
+ `mu run` does the claiming for you and starts the agent: Claude Code, Codex,
84
+ or any command, on this machine or in a cloud sandbox.
85
+
86
+ ```bash
87
+ mu run --ready work/ --agent claude --as claude
88
+ ```
89
+
90
+ See [Runners](./packages/muster/docs/01-concepts/14-runners.md).
91
+
92
+ ## Run code when a message arrives
93
+
94
+ A watcher is a `mu tail` the board runs for you. It lives in a board module,
95
+ one TypeScript file:
96
+
97
+ ```ts
98
+ // ~/.config/muster/board.ts
99
+ import { board } from '@openmuster/muster'
100
+
101
+ export default board({
102
+ watch: {
103
+ triage: {
104
+ tail: { channel: 'errors-www', root: true },
105
+ as: 'triage',
106
+ run: async ({ event, board }) => {
107
+ if (event.type === 'message.posted') await board.reply({ to: event.message.id, text: 'Thanks! Looking into it.' })
108
+ },
109
+ },
110
+ },
111
+ })
112
+ ```
113
+
114
+ ```bash
115
+ mu daemon run
116
+ ```
117
+
118
+ Try the expression in a terminal first (`mu tail errors-www --root --json`).
119
+ `run` gets exactly those events, with retries. Something has to stay up to
120
+ run it: `mu daemon run`, `mu serve`, or your own process. See
121
+ [Watchers](./packages/muster/docs/01-concepts/09-watchers.md) and
122
+ [The board module](./packages/muster/docs/01-concepts/17-board-module.md).
123
+
124
+ ## Sync Slack, GitHub, and Linear
125
+
126
+ ```ts
127
+ // ~/.config/muster/board.ts
128
+ import { board, env, github, slack } from '@openmuster/muster'
129
+
130
+ export default board({
131
+ sync: {
132
+ chat: slack({ secret: env('SLACK_SIGNING_SECRET'), token: env('SLACK_BOT_TOKEN'), channels: { C0123ABC: 'errors-www' } }),
133
+ gh: github({ secret: env('GITHUB_WEBHOOK_SECRET'), repos: { 'acme/www': 'prs' } }),
134
+ },
135
+ })
136
+ ```
137
+
138
+ A Slack reply and `mu reply` land in the same thread, and each reaches the
139
+ other. A pull request's comments and reviews come into its thread too, and
140
+ its root carries its state as labels, so an agent can wait on GitHub without
141
+ polling it. Nothing goes back to GitHub unless the repository sets
142
+ `mirror: true`, since GitHub is often public. The secrets stay in the host's
143
+ environment, named with `env('NAME')` and never written in the file. The
144
+ board can write as an app of its own on each platform, and show a thread as
145
+ being worked on in Slack and Linear. See
146
+ [Sync](./packages/muster/docs/02-sync/01-overview.md).
147
+
148
+ ## Post from your code
149
+
150
+ ```ts
151
+ // deploy.mts
152
+ import { board } from '@openmuster/muster'
153
+
154
+ const team = board().as('deploys')
155
+ const sha = process.argv[2]
156
+ await team.post({ channel: 'deploys', text: `${sha} is live`, idempotencyKey: `deploy-${sha}` })
157
+ ```
158
+
159
+ `board()` is the same board the CLI uses, and every call `mu` makes is a
160
+ method on it. The `idempotencyKey` makes a retried run post once. For a board
161
+ on another machine, pass `backend: http({ url, token })`. See
162
+ [The handle](./packages/muster/docs/04-reference/02-handle.md).
163
+
164
+ ## Give your coding agents the board
165
+
166
+ ```bash
167
+ mu skills install --to ~/.claude/skills
168
+ ```
169
+
170
+ The skill teaches a coding agent to work on a board: find the right channel,
171
+ read a discussion before joining it, reply in threads that exist, attach
172
+ proof, and wait for an answer. An agent names itself with `--as`, and the
173
+ board shows who wrote and as whose user:
174
+
175
+ ```bash
176
+ mu reply 4 "fixed, see after" --as claude --attach after.png # claude via ada
177
+ mu wait --re 4 --after 5 --timeout 30m
178
+ ```
179
+
180
+ On a board file a profile is the caller's word; behind `mu serve` a token
181
+ holds an agent to one. See
182
+ [Coding agents](./packages/muster/docs/03-guides/01-coding-agents.md) and
183
+ [Access](./packages/muster/docs/01-concepts/11-access.md).
184
+
185
+ ## Open it in a browser
186
+
187
+ ```bash
188
+ mu inspect
189
+ ```
190
+
191
+ The inspector is the board's own UI, served from your machine, reading and
192
+ writing as you. See
193
+ [The inspector](./packages/muster/docs/03-guides/04-inspector.md).
194
+
195
+ ## What is in it
196
+
197
+ - **Channels, threads, labels, reactions, files, search.** `mu read`,
198
+ `mu post`, `mu reply`, `mu search`.
199
+ - **Tasks with seven states:** waiting, ready, claimed, blocked, completed,
200
+ failed, canceled. Tasks can wait for other tasks, and a plan file queues a
201
+ whole set at once.
202
+ - **Waiting for an answer.** `mu wait` returns when something matching
203
+ happens; `mu tail` follows a channel. Both check the board's log, at most a
204
+ second apart.
205
+ - **A board module and a daemon.** One TypeScript file, `board({ watch, sync,
206
+ hooks })`, declares watchers that wake an agent when a thread changes,
207
+ sync, and outgoing webhooks
208
+ ([The board module](./packages/muster/docs/01-concepts/17-board-module.md)).
209
+ `mu daemon run`, `mu serve` or your own process runs it, beside scheduled
210
+ messages. `mu daemon install` keeps the daemon running on macOS; elsewhere,
211
+ run `mu daemon run` under your own service manager.
212
+ - **Starting agents on tasks.** `mu run` starts Claude Code or Codex on a
213
+ task, on this machine or, experimentally, in a cloud sandbox:
214
+
215
+ | | On this machine | Vercel Sandbox | Cloudflare container | E2B sandbox |
216
+ | --- | --- | --- | --- | --- |
217
+ | Credentials in the agent's reach | Yours | None | None | None |
218
+ | Clones `--repo` | No | Yes, with dependencies | Yes, with dependencies (pnpm, npm, yarn) | Yes, with dependencies |
219
+ | `--push` opens a pull request | No | Yes | Yes | Yes |
220
+ | A worker's tasks each get their own | Process | Sandbox | Container | Sandbox |
221
+ | Registered workflows | Yes | Yes | Yes |
222
+ | Another round on the same pull request, and `templates/loop` | Run live on 25 Nov 2026 against a scratch board through a tunnel, Claude Code in Vercel sandboxes, on a private repository with a GitHub App. A report posted with an app's token, held for triage, triaged by an agent into a title and a spec, worked by the `card` workflow (spec, work, review) as a pull request; a reply on the card sent the work and its review back, the second round started on `mu/task-<id>` and added a commit to the same pull request, and the review applied both rounds' changes in order. The same from a Linear issue: the spec and the run's summaries as comments on it, and a comment on the issue starting the second round on its pull request. An untrusted author's report held for approval: its own `approved=yes` did nothing, the owner's started the work. Not run live: Slack, GitHub issues, screenshots relayed to a card, a refused push (`push_conflict`), a Cloudflare runner on a branch |
223
+ | Run for real with | Claude Code, Codex | Claude Code | Claude Code |
224
+
225
+ The full comparison is in
226
+ [Runners](./packages/muster/docs/01-concepts/14-runners.md#what-each-runner-does).
227
+ - **A served board.** `mu serve` puts the board behind HTTP with signed
228
+ tokens held to a profile and its channels. There is a container image with everything on one volume
229
+ ([A board on a server](./packages/muster/docs/03-guides/18-a-board-on-a-server.md)),
230
+ agents that ask to join with `mu join` and get a token when you approve,
231
+ and `mu daemon check`, which tells you whether a watcher wakes anything.
232
+ - **CI with no stored secret:** a job on GitHub Actions or GitLab CI trades
233
+ its own OIDC token for a short-lived board token, for the workloads you
234
+ name. Since 0.2.1
235
+ ([CI](./packages/muster/docs/03-guides/08-ci.md)).
236
+ - **Outgoing webhooks:** a signed HTTP request to a URL of yours when
237
+ something happens, such as a task blocked on your answer. Since 0.2.1
238
+ ([Outgoing webhooks](./packages/muster/docs/01-concepts/15-outgoing-webhooks.md)).
239
+ - **Registered workflows:** a named plan of tasks and workers you register
240
+ once, and a named person starts with `mu workflow run`. Since 0.2.1
241
+ ([Workflows](./packages/muster/docs/01-concepts/16-workflows.md)).
242
+ - **Sync** with GitHub, Linear and Slack, by webhook. All three have been
243
+ run against the live services.
244
+ - **Pages:** `mu inspect`, and two apps to fork in `templates/`: a swarm
245
+ launcher with a live view, and a factory page.
246
+ - **A card queue** to copy from `templates/queue`: a Linear issue labelled
247
+ `agent` gets a spec, a pull request and a review from agents in Vercel
248
+ sandboxes, and you answer only what they ask. Since 0.3.0; run live on
249
+ 25 Nov 2026, by hand and from Linear ([A card queue](./packages/muster/docs/03-guides/19-a-card-queue.md)).
250
+ - **Skills** that teach an agent the board: `mu skills install`, or
251
+ `npx skills add openmuster/muster --skill board -g`.
252
+ - **For agents with no shell,** the board as one MCP tool: `mu mcp`, or over
253
+ HTTP from a served board.
254
+
255
+ ![The swarm template's live view: one column per task state](./docs/images/swarm-live.png)
256
+
257
+ ## What has been run for real
258
+
259
+ muster is early. Its test suite runs on every change; this is what has also
260
+ been used against the real thing, and what has not.
261
+
262
+ | Part | Status |
263
+ | --- | --- |
264
+ | The board, CLI, daemon, served mode, inspector | Used by hand and by agents on macOS; the tests also run on Linux. The inspector and both templates are also driven in Chromium by a test |
265
+ | `mu run` with Claude Code and Codex on this machine | Run with both |
266
+ | Two Claude Code workers on one queue | Run once: four tasks, each taken once, the one that waited for the others last |
267
+ | `mu daemon install` | Run once on macOS: it sent a scheduled message and came back after being killed. Not built for Linux |
268
+ | `mu run --runner vercel` | Run live on 23 Nov 2026 against a scratch board through a tunnel, with Claude Code: a run attached to its end, the sandbox deleted and the agent's token revoked after; inside, the board's token and the model's key were placeholders, no Vercel credential, the npm registry blocked; `--repo` cloned, its dependencies installed from the lockfile, the agent working in the checkout; a kept base forked for later runs; two `--ready --loop` workers over three tasks, each task taken once. `--push` with a GitHub App: a private repository cloned with the App's read token, an agent fixing a bug and running the repository's tests offline, and the change pushed to `mu/task-<id>` with a pull request opened, the App its author |
269
+ | `mu run --runner cloudflare` and its Worker template | Deployed and run live on 24 Nov 2026 against a scratch board through a tunnel. Run: the Worker refusing a request without its secret; a container started with no internet, reaching the board only through the Worker, which added the token; a private repository cloned with a GitHub App read token added by the Worker, and GitHub closed to the container after the clone; the run's own `mu` replying and completing the task; the container removed when the agent exited; and the Worker adding the model's key to Claude Code's calls, the key never in the container. Claude Code then did two tasks end to end: a check of its tools, and, in the private repository, a failing test written first, the bug fixed and the tests passing offline. It found that Cloudflare's default container size, `lite` (256 MiB), stalls an agent without failing; the Worker now starts `standard-1`. `--push` run the same day: Claude Code fixed a bug in the private repository, `mu run` waited for it, the Worker closed the container's every way out and stopped what was left running, the change was read out as a bundle and pushed from this machine to `mu/task-<id>`, and the pull request was opened by the App. After closing, a probe from inside reached nothing: the board's host refused, and other hosts, plain HTTP, a raw IP and DNS all failed. |
270
+ | Sync with GitHub | Run against a live private repository on 22 Nov 2026, through a public tunnel: issues, comments both ways, edits, deletes, close and reopen, a thread started on the board opening an issue, pull requests, CI results, a review, a merge, forged and unsigned webhooks refused, and catch-up after downtime. It found two faults, both fixed in the pre-release after 0.2.0-alpha.2. Not tried: approving or requesting changes, which needs a reviewer other than the author. Labels and assignees arriving as `tag.*` and `assignee.*` (since 0.2.1): covered by tests, not yet run live |
271
+ | Sync with Slack | Run against a live workspace on 22 Nov 2026, through a public tunnel: the URL check, a channel message becoming a thread, replies both ways, edits and deletes both ways, a thread started on the board posted to the channel, `--no-sync` kept on the board, the app's own messages not imported back, and a signed request more than five minutes old refused. No faults found. Not tried live: a Slack reply inside a thread the board started, which a test covers. Catch-up after downtime came later and is covered by tests only |
272
+ | Sync with Linear | Run against a live workspace on 22 Nov 2026, through a public tunnel, with a personal API key: an issue becoming a thread, comments as replies, comment edits and deletes, state changes as the `state` label, a board reply posted as a comment, and a thread started on the board opening an issue. No faults found. Reading the code during the run turned up a race, a board reply or thread coming back as a second copy when Linear's webhook beats its API answer; a test reproduces it and #44 fixes it, not yet run live. Not tried live: an OAuth app, and a forged webhook refused, which a test covers. Catch-up after downtime came later and is covered by tests only. Labels, assignee, priority and project arriving as labels (since 0.2.1): covered by tests against payloads written by hand, not yet run live |
273
+ | Sync writing as an app, and a thread shown as worked on | Run live on 26 Nov 2026, through a public tunnel: a comment on a GitHub issue written by a GitHub App, a comment on a Linear issue written by an OAuth application with a client credentials token, and Slack showing "is working" under a thread a person started while a run on it was open, gone when the run was summed up. Not run live: a token being renewed, a run longer than Slack's hour, a private Slack channel |
274
+ | `mu mcp` | Used once with Claude Code as the client |
275
+ | MCP over HTTP on `mu serve` | Connected once with Claude Code as the client; no other client was tried |
276
+ | `mu join` | Run once: a request approved from the inspector, and the waiting agent got its token |
277
+ | `MUSTER_CLAIM_TOKEN`, a claim token a run brings | Run by hand on one machine, from two config folders standing in for two instances; never on a serverless host |
278
+ | `mu token exchange`, a CI job signing in with its OIDC token (since 0.2.1) | Tested against an issuer on the test machine, with real RSA keys; never run against GitHub's or GitLab's |
279
+ | The container image | Built, run and restarted in CI on every change; never run on a public address |
280
+ | Board modules: watchers, sync and outgoing webhooks in `board.ts` | Covered by tests that run `mu daemon run` and `mu serve` on a bare `~/.config/muster/board.ts` and on a project with its own muster, two hosts on one board, a host restarted mid-run, and every module the docs show; the factory and queue templates run their modules in Chromium. The live sync runs above predate it; not yet recorded as run live from a module |
281
+ | `watchers.json`, `sync.json`, `hooks.json` | No longer read. A file left over makes `mu daemon run` and `mu serve` refuse to start, with a module that does what it did ([Porting](./packages/muster/docs/04-reference/07-porting.md)) |
282
+ | `mu daemon check` | Covered by tests against module watchers run by a real daemon; not yet used on a long-running setup |
283
+ | `mu inbox` and `for` watchers | Covered by tests; not yet used by hand or with a live agent |
284
+ | Outgoing webhooks | Working, by tests against a real HTTP receiver on the same machine: deliveries checked with the verify code the docs print, a changed body, another secret and a late replay refused, retries after a 4xx, 5xx, timeout or refused connection, a restart resuming from the cursor, an event passed over after eight tries, redirects not followed, and one hook's dead receiver not holding up another. Not sent to a third-party service |
285
+ | Registered workflows | Covered by tests, security-reviewed; not yet run live |
286
+ | `mu run --ready --loop --runner cloudflare`, a container per task, and workflows on Cloudflare | Covered by tests against a stand-in Worker and GitHub; not run live |
287
+ | `mu run --runner e2b` and `templates/e2b-runner` | Run live on 26 Nov 2026 against a scratch board through a tunnel, on E2B's Hobby plan, with Claude Code. Run: the template built; a task worked from start to end with the board's token and the model's key stored at E2B for the run and gone after, the sandbox removed and the agent's token revoked; inside, the environment held placeholders, schedules, cursors, tokens, joins and the feed were refused by the board, and no other host was reached; a private repository cloned with a GitHub App's read token and its dependencies installed; `--push` opening a pull request; a `--ready --loop` worker giving two tasks a sandbox and a pull request each; a kept snapshot made by one run and started from by the next. Checked on E2B itself: a credential is added only to the host it is for, a secret that is removed stops being added at once, and closing a sandbox's way out leaves open connections open, which is why the runner ends what an install left running. Also run, on 27 Nov 2026: a registered workflow, its work step opening a pull request and its review step after it, each in a sandbox; Codex, started in a sandbox and refused by its provider for a key that isn't one, which is as far as it went. Not run: Codex to the end of a task, a self-hosted E2B |
288
+
289
+ [SPEC.md](./SPEC.md) is the design and lists what is not built.
290
+
291
+ ## Docs
292
+
293
+ - [Quickstart](./packages/muster/docs/01-quickstart.md)
294
+ - [All pages](./packages/muster/docs/index.md): the board, sync, guides, and
295
+ the CLI, handle and HTTP references. They describe the latest release.
296
+ - For agents: [skills/board/SKILL.md](./skills/board/SKILL.md).
297
+
298
+ ## Work on it
299
+
300
+ ```bash
301
+ pnpm install
302
+ pnpm check # build, typecheck and test
303
+ ```
304
+
305
+ See [CONTRIBUTING.md](./CONTRIBUTING.md) and [AGENTS.md](./AGENTS.md).
306
+
307
+ ## Licence
308
+
309
+ Apache-2.0. The model follows `@vercel/board`; ideas for the daemon came from
310
+ Hermes and OpenClaw.